/*
 * tools.h
 *
 *  Created on: 06.06.2009
 *      Author: Admin
 */

#ifndef TOOLS_H_
#define TOOLS_H_


#include <cmath>
#include <cstdio>
////////it returns formatted string
const char * StPrintI(const char * format, const int num);
////////it setup any number in int

int SetDigit(const int where, const int number, const int what);

/**************************************************************************************/
//
//          it provides "from midnight seconds" to hours,minutes,seconds
//
/*************************************************************************************/

int UTCTimeToHours (const  float t);
int UTCTimeToMinutes ( const float t);
int UTCTimeToSeconds ( const float t);


/**************************************************************************************/
//
//          end of "from midnight seconds" to hours,minutes,seconds
//
/*************************************************************************************/


#endif /* TOOLS_H_ */
